package com.csun.cmny.provider.model.dto.appraiser;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@Data
public class AppraiserSaveDto {

    /*评估师姓名*/
    @NotEmpty(message = "{appraiser.name.null}")
    private String appraiserName;

    /*性别 0-男 1-女*/
    @NotNull(message = "{appraiser.gender.null}")
    private Integer gender;

    /*联系方式*/
    @NotEmpty(message = "{appraiser.appraiserPhone.null}")
    @Pattern(regexp = "^((\\+86)|(86))?(13|15|16|17|18|19)\\d{9}$",
            message = "{channel.phone.error}")
    private String appraiserPhone;

    /*科室*/
    @NotEmpty(message = "{appraiser.administrative.null}")
    private String administrative;

    /*职称*/
    @NotEmpty(message = "{appraiser.professionalQualifications.null}")
    private String professionalQualifications;

    /*省*/
    @NotEmpty(message = "{appraiser.province.null}")
    private String province;

    /*市*/
    @NotEmpty(message = "{appraiser.city.null}")
    private String city;

    /*区*/
    @NotEmpty(message = "{appraiser.district.null}")
    private String district;

    /*入职日期*/
    @NotEmpty(message = "{emp.empDate.null}")
    private String empDate;

    /*登陆名*/
    @NotEmpty(message = "{user.loginName.null}")
    private String loginName;

    /*身份证号*/
    @NotEmpty(message = "{user.idCard.null}")
    private String idCard;

    /*医院*/
    private String hospital;


    /*医师资格证书编号*/
    private String qualificationCertificateNo;

    /*专业特长*/
    private String expertise;

    /*执业医师证注册机构*/
    private String registrationAuthority;

    /*医师执业证书编号*/
    private String occupationalCertificateNo;

    /*执业医师证图片code*/
    private String occupationalCertificateCode;

    /*职业证书图片code*/
    private String qualificationCertificateCode;

    /*个人图片code*/
    private String peopleCode;



}
